package org.yag.lyf.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.yag.lyf.entity.UserInfo;
import org.yag.lyf.mapper.UserInfoMapper;

/**
 * Created by yaq on 2016/9/13.
 */
@Service
@org.springframework.stereotype.Service("userInfoService")
public class UserInfoServiceImpl implements UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public void testINFO() {
        UserInfo info = new UserInfo();
        info.setUrseName("test");
        info.setUserPassword("test");
        info.setSalt("salt");
        info.setUrlId(1111);
        userInfoMapper.insertSelective(info);
    }
}
